<!DOCTYPE HTML>
<html>
<head>
	<title>JavaScript Game</title>
	<style>
		canvas{
			border: 1px dotted red;
			background: #fcff00;
		}
	</style>
	<script src="canvas_game.js"></script>
</head>
<body onload="init();">
	<canvas id="canvas" width="500" height="300"></canvas>
	<div id="control">
		速度: <input id="velocity" value="30" type="number" min="0" max="100" step="1">
		角度: <input id="angle" value="45" type="number" min="0" max="90" step="1">
		<div id="score">分数 = 0</div>
		<button onclick="start();">发射</button>
		<button onclick="gameInitialize();">重新开始</button>
	</div>
</body>
</html>